|
Menu location |
---|
Edit → Undo |
Workbenches |
All |
Default shortcut |
Ctrl+Z |
Introduced in version |
- |
See also |
Redo |
Anulează exact o acțiune.
The Std Undo command undoes the last action.
Click pe sau alegeți Edit →
Undo din meniul principal.
Faceți clic pe săgeata în jos negru din partea dreaptă a iconiței pentru a obține o listă cu maxim 12 acțiuni de selectat.
See also: Preferences Editor.
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
To undo the last action use the undo
method of the document object. Its counterpart, the redo
method, is also available.
import FreeCAD
FreeCAD.ActiveDocument.undo()
When running FreeCAD in pure console mode (CLI), the undo/redo mechanism isn't enabled by default. It must be explicitly activated for each document.
import FreeCAD
FreeCAD.ActiveDocument.UndoMode = 1